#include "Graph.h"

Graph::Graph() :m_iVexnum(1), m_iArcnum(0), m_gKind(UD) {
}

inline Graph::~Graph() {
}


Status Graph::setVexnum(int vexnum) {
	m_iVexnum = vexnum;
	return OK;
}

Status Graph::setArcnum(int arcnum) {
	m_iArcnum = arcnum;
	return OK;
}

Status Graph::setGkind(Graphkind Gkind) {
	m_gKind = Gkind;
	return Status();
}

int Graph::getVexnum() {
	return m_iVexnum;
}

int Graph::getArcnum() {
	return m_iArcnum;
}

Graphkind Graph::getGkind() {
	return m_gKind;
}

